* {
    margin: 0;
    padding: 0;
    user-select: none;

}

ul {
    list-style: none;
    margin-left: 0;
}

li {
    list-style: none;

}

i {
    font-style: normal;
    color: red;
    font-weight: bold;
}

.goods ul {
    overflow: hidden;
}

.goods ul li {
    float: left;
    width: 40px;
    height: 40px;
    background: red;
    text-align: center;
    line-height: 40px;
    border: 2px solid #ccc;
    box-sizing: border-box;
    margin: 10px;
    cursor: pointer;
}

.goods ul li:nth-child(2) {
    background: blue;
}

.goods ul li.on {

    border-color: rgb(14, 0, 0);
}

.goods ul li.check {

    border-color: rgb(15, 206, 231);
}
.carts .cart {
    display: none;
}

.cart ul {
    padding-left: 15px;
    /* width: 500px; */

}
.cart li.border-c{
    border: 1px solid salmon ;
}

.cart li {
    padding: 12px 0;
    border-bottom: 1px solid #ccc;
}

.cart li>span {
    margin-right: 15px;

}

.cart li span {
    display: inline-block;
    vertical-align: middle;
}

.cart li .size {
    width: 160px;
}

.cart li .price {
    width: 80px;
}

.cart li .stock {
    width: 90px;
}

.cart li .add,
.cart li .subtrace {
    font-weight: bold;
    color: #555;
    width: 26px;
    height: 26px;
    border: 1px solid #e5e5e5;
    line-height: 26px;
    text-align: center;
    overflow: hidden;
    cursor: pointer;
}

.cart li .subtrace+input {
    width: 62px;
    height: 22px;
    line-height: 22px;
    padding: 2px 8px;
    border-width: 1px;
    border-style: solid;
    border-color: #e5e5e5;
    text-align: center;
    background: #fff;
}

.carts .cart:nth-child(1) {
    display: block;
}

.amount-down-limit {
    cursor: not-allowed!important;
    color: #ccc;
}